<div class="block block-{{ data.contentModel }}" id="{{ data.getId() }}">
    {% if data.name is defined AND data.displayTitle is defined AND data.displayTitle %}<h3 class="block-title">{{ data.name }}</h3>{% endif %}
    {% if data.body is defined %}
        <div class="block-body">{{ data.body }}</div>{% endif %}
</div>